package com.yx.mapper;

import com.yx.entity.SysMenu;
import com.yx.entity.SysMenuDisplay;
import com.yx.mapper.base.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description: 菜单
 * @Auther: zcz
 * @create 2020/4/16 11:51
 */
@Repository
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    /**
     * 根据父级id查询子菜单
     * @param menuParent
     * @return
     */
      List<SysMenuDisplay> getMenusByParent(String menuParent);
}